-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SDP-907] data/db: Automatic cancellation of Ready Payments after a certain time period #78
Conversation
stellar-disbursement-platform-backend-preview is available here: |
stellar-disbursement-platform-backend-preview is available here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for working on this! I've left some comments. Let me know if you have any questions.
internal/db/migrations/2023-10-25-alter-organizations-table.sql
Outdated
Show resolved
Hide resolved
internal/db/migrations/2023-10-25-update-payments-status-type.sql
Outdated
Show resolved
Hide resolved
internal/db/migrations/2023-10-25-update-payments-status-type.sql
Outdated
Show resolved
Hide resolved
internal/db/migrations/2023-10-25-alter-organizations-table.sql
Outdated
Show resolved
Hide resolved
internal/scheduler/jobs/ready_payments_cancellation_job_test.go
Outdated
Show resolved
Hide resolved
internal/db/migrations/2023-10-25-alter-organizations-table.sql
Outdated
Show resolved
Hide resolved
stellar-disbursement-platform-backend-preview is available here: |
stellar-disbursement-platform-backend-preview is available here: |
stellar-disbursement-platform-backend-preview is available here: |
stellar-disbursement-platform-backend-preview is available here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work! Thank you for working on this! 🚀
Co-authored-by: Caio Teixeira <[email protected]>
stellar-disbursement-platform-backend-preview is available here: |
stellar-disbursement-platform-backend-preview is available here: |
stellar-disbursement-platform-backend-preview is available here: |
What
Automatic cancellation of pending payments after a certain time period
Why
If a payment has been in 'ready' status for more than a certain quantity of days, move from 'ready' to 'canceled' status. Do not pay the receiver if they verify their identity after that.
Known limitations
N/A
Checklist
PR Structure
Thoroughness
Configs and Secrets
values.yaml
file.pr-preview
,dev
,demo
,prd
).values.yaml
file.pr-preview secrets
,dev secrets
,demo secrets
,prd secrets
).Release
develop
ormain
after it's ready for production!Deployment